<!--# layout("/common/layout.html",{"jsBase":"/js/cms/professionalTechnology/"}){ -->

<form class="layui-form " id="updateForm">
    <!--# include("/cms/common/basic.html",{"basic":professionalTechnology}){} -->
    <!--# include("commonedit.html"){} -->
    <layui:personnelsubmitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var professionalTechnologyEdit = layui.edit
    professionalTechnologyEdit.init();

    var form = layui.form;
    form.on('select(declarationLevel)', function (data) {
        var value = data.value;
        if(value==1){
            $("#subsidyAmount").val(5000);
        }else if(value==2){
            $("#subsidyAmount").val(10000);
        }else if(value==3){
            $("#subsidyAmount").val(20000);
        }
    });
});
</script>
